home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 7243 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: tech.cftnet.com!not-for-mail
  2. From: wcowley@cftnet.com (Wes Cowley)
  3. Newsgroups: comp.windows.x.motif,comp.lang.c++
  4. Subject: Re: MOTIF Callbacks, C++ Member Functions - SOLVED
  5. Followup-To: comp.windows.x.motif,comp.lang.c++
  6. Date: 22 Feb 1996 11:10:57 GMT
  7. Organization: CFTnet
  8. Distribution: inet
  9. Message-ID: <4ghj02$1po@tech.cftnet.com>
  10. References: <4f6oau$c4m@knot.queensu.ca> <4f9fbo$7ju@news1.halcyon.com> <4gbf05$6d8@rex.sfe.com.au> <4gc9p3$s7s@tech.cftnet.com> <4gfdgb$n2d@newdelph.cig.mot.com>
  11. NNTP-Posting-Host: ppp244_8.cftnet.com
  12. X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
  13.  
  14. Shahram Khosravani (khosravn@rtsg.mot.com) wrote:
  15. : I don't do much C++ these days, but I think that the 'this' pointer you
  16. : are passing in as client data, can only be used to access other static
  17. : data/function members. It can not access any non-static data members or call
  18. : any non-static methods. True/False ?
  19.  
  20. False.  By casting the pointer to point to the class it was created 
  21. from you can access any of the members, static or not.
  22.  
  23. Wes
  24.